#YUM='yum resolvedep'
# Naturally use the most up-to-date link for your distribution.
# Install Mono and related tools with yum:

$YUM dbus-sharp # C# bindings for D-Bus
$YUM evolution-sharp # Evolution Data Server Mono Bindings
$YUM gmime-sharp # mono bindings for gmime
$YUM gnome-sharp # GTK+ and GNOME bindings for Mono
$YUM gsf-sharp # Mono bindings for libgsf
$YUM gsf-sharp-devel # pkgconfig file for gsf-sharp
$YUM gtk-sharp2 # GTK+ and GNOME bindings for Mono
$YUM gtk-sharp2-doc # Gtk# documentation
$YUM gtk-sharp2-gapi # Glib and GObject C source parser and C generator for the
                      # creation and maintenance of managed bindings for Mono and
                      # .NET
$YUM ibm-data-db2 # IBM DB2 database connectivity for Mono
$YUM libgdiplus # libgdiplus: An Open Source implementation of the GDI+ API
$YUM libgdiplus-devel # Development files for libgdiplus
$YUM mod_mono # A module to deploy an ASP.NET application on Apache with Mono
$YUM mono-core #  The Mono CIL runtime, suitable for running .NET code
$YUM mono-data # Database connectivity for Mono
$YUM mono-data-firebird # Firebird database connectivity for Mono
$YUM mono-data-oracle # Oracle database connectivity for Mono
$YUM mono-data-postgresql # Postgresql database connectivity for Mono
$YUM mono-data-sqlite # sqlite database connectivity for Mono
$YUM mono-data-sybase # Sybase database connectivity for Mono
$YUM mono-devel   # Development tools for Mono
$YUM mono-extras  # Provides the infrastructure for running and building daemons
                  # and services with Mono as well as various stub assemblies
$YUM mono-jscript  # JScript .NET support for Mono
$YUM mono-locale-extras # Extra locale information for Mono
$YUM mono-moonlight # All the parts required for moonlight compilation
$YUM mono-nunit # NUnit Testing Framework
$YUM mono-nunit-devel # pkgconfig for nunit
$YUM mono-web # ASP.NET, Remoting, and Web Services for Mono
$YUM mono-web-devel # Development files for system.web
$YUM mono-winforms # Windows Forms implementation for Mono
$YUM monodoc # The mono documentation system
$YUM monodoc-devel # .pc file for monodoc
$YUM monotone # A free, distributed version control system
$YUM monotone-server # Standalone server setup for monotone
$YUM normaliz # A tool for mathematical computations
$YUM xsp # A small web server that hosts ASP.NET
$YUM xsp-devel # Development files for xsp

echo "Bress eni ki to kontinju!!"; read



# yum to install Apache, mod_mono and the dependencies to xsp. 
$YUM httpd mod_mono mono-web
	
# If you install xsp from the standard Fedora repository, you get this error 
# in httpd error_log.
#
#    500 Internal Server Error

#    System.InvalidOperationException: mod_mono and xsp have different versions.

# Use this command to install xsp from the rawhide repository.
yum install --enablerepo=rawhide xsp

# Disabling SELinux
#
# Set SELinux in permissive mode (setenforce 0) to avoid the following error.
#
#    503 Service Temporarily Unavailable
#
#    [error] Failed to connect to mod-mono-server after several attempts to 
#    spawn the process.
#
# To put the system into permissive mode, issue this command.
setenforce 0

# Start or restart httpd.

service httpd start 

# use AutoHosting, this basically means that you load the mod_mono.conf file, 
# like this in your Apache configuration file:

echo Include /etc/apache2/mod_mono.conf


# More on automatic configuration of mod_mono applications is in AutoHosting.
# http://www.mono-project.com/AutoHosting
# mod_mono.conf loads the mod_mono module, associates ASP.NET file extensions 
# with the ASP.NET MIME type and adds index.aspx, Default.aspx, and default.aspx 
# as automatic directory index pages (with the DirectoryIndex directive). 
# If you don't include mod_mono.conf in your main Apache configuration, you 
# will at least need to have the mod_mono.so module loaded with:
echo LoadModule mono_module /usr/lib/httpd/modules/mod_mono.so

# For more detailed configuration and manual tuning keep reading.

# mod_mono will automatically launch mod-mono-server and start the web 
# application on the first request for a page handled by mod_mono. In the early
# days of mod_mono, you had to start mod-mono-server by yourself, ensuring 
# that it had all the parameters needed to understand the requests forwarded 
# by the module. This is still an option for those who want mod-mono-server 
# to have a separate life cycle from apache, but you will probably prefer to 
# use mod_mono built-in ability to start and stop mod-mono-server for you



[home_mindtouch_mono]
name=mindtouch mono repo (RHEL_5)
type=rpm-md
baseurl=http://download.opensuse.org/repositories/home:/mindtouch:/Mono/RHEL_5/
gpgcheck=1
gpgkey=http://download.opensuse.org/repositories/home:/mindtouch:/Mono/RHEL_5/repodata/repomd.xml.key
enabled=1
